/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package desktopapplication;

import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.net.Socket;
import java.util.ArrayList;
import javax.swing.DefaultListModel;
import pack.Course;
import pack.Question;

/**
 *
 * @author shuyi
 */
public class GlobalVariables {

    static final String URL="shuyi.dyndns-at-home.com";
    static final int SBAP_PORT = 30002;
    public static Socket s = null;
    public static InputStream instream = null;
    public static OutputStream outstream = null;
    public static ObjectInputStream in = null;
    public static ObjectOutputStream out = null;
    public static int selectedCourse_id = -1;
    public static ArrayList<Course> courseList = null;
    public static DefaultListModel courseListModel = new DefaultListModel();
    public static ArrayList<Question> questionList = null;
    public static DefaultListModel questionListModel = new DefaultListModel();
}
